package com.sys.service.impl;

import com.sys.entity.FitnessEquipment;
import com.sys.mapper.FitnessEquipmentMapper;
import com.sys.service.FitnessEquipmentService;

import java.util.List;

public class FitnessEquipmentServiceImpl implements FitnessEquipmentService {
    private FitnessEquipmentMapper fitnessEquipmentMapper;
    @Override
    public List<FitnessEquipment> selectAll() {
        return fitnessEquipmentMapper.selectAll();
    }

    @Override
    public int add(FitnessEquipment fitnessEquipment) {
        return fitnessEquipmentMapper.add(fitnessEquipment);
    }

    @Override
    public int delectById(Integer id) {
        return fitnessEquipmentMapper.delectById(id);
    }
}
